package com.example.base.flow.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;

/**
 * <p>
 * 工作流
 * </p>
 *
 * @author X.I.O
 * @since 2024-04-25
 */

@Data
@ApiModel(description = "工作流")
@TableName("sys_flow")
public class SysFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;
    /**
    * 流程名称
    */
    @ApiModelProperty(value = "流程名称")
    private String flowName;
    /**
    * 流程json
    */
    @ApiModelProperty(value = "流程json")
    private String flowJson;
    /**
    * 版本号
    */
    @ApiModelProperty(value = "版本号")
    private String flowVersion;
    /**
    * 创建时间
    */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;
    /**
    * 更新时间
    */
    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

        

}
